package com.chenfan.mcn.exception;

import com.chenfan.common.exception.BusinessException;

/**
 * RPC调用响应结果-操作失败-异常
 *
 * @author wulg
 * @date 2021-10-23
 **/
public class RpcResultException extends BusinessException {

    private String serviceId;

    private String uri;

    private String httpMethodName;

    public String getServiceId() {
        return serviceId;
    }

    public String getUri() {
        return uri;
    }

    public String getHttpMethodName() {
        return httpMethodName;
    }

    public RpcResultException(String serviceId, String httpMethodName, String uri, int code, String message) {
        super(code, message);
        this.serviceId = serviceId;
        this.httpMethodName = httpMethodName;
        this.uri = uri;
    }
}
